#ifndef INERTIAL_MEASUREMENT_H_
#define INERTIAL_MEASUREMENT_H_

class Inertial_measurement {
public:
	Inertial_measurement();
	virtual ~Inertial_measurement();

	//Basic information about measurement
	double time_stamp;
	unsigned int nr;

	//Only debug purpose
	unsigned char header;

	//Acceleration
	float a1;
	float a2;
	float a3;
	//Angular rates
	float ar1;
	float ar2;
	float ar3;
	//Magnetometer
	float m1;
	float m2;
	float m3;

	//Time stamp from sensor
	unsigned int source_timer;

	//Only debug purpose
	unsigned short int checksum;
};

inline Inertial_measurement::Inertial_measurement(){;}
inline Inertial_measurement::~Inertial_measurement(){;}

#endif /* INERTIAL_MEASUREMENT_H_ */
